package com.vr.xuecheng.orders.dto;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author hzh
 * @date 2025/04/06
 * 新增订单dto
 */
@Data
public class AddOrderDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 2539248478226234491L;

    /**
     * 总价
     */
    private Float totalPrice;

    /**
     * 订单类型
     */
    private String orderType;

    /**
     * 订单名称
     */
    private String orderName;
    /**
     * 订单描述
     */
    private String orderDescrip;

    /**
     * 订单明细json，不可为空
     * [{"goodsId":"","goodsType":"","goodsName":"","goodsPrice":"","goodsDetail":""},{...}]
     */
    private String orderDetail;

    /**
     * 外部系统业务id,
     */
    private String outBusinessId;
}
